import request from "@/utils/axiosHttp";


// 设备列表
export function deviceRechargeRecordList(query) {
	return request({
		url: 'deviceRechargeRecord/pageList',
		method: 'get',
		params: query
	})
}


// 设备列表
export function recordStatistics(query) {
	return request({
		url: 'deviceRechargeRecord/recordStatistics',
		method: 'get',
		params: query
	})
}





// 退款
export function deviceRechargeRefund(data) {
	return request({
		url: '/deviceRechargeRecord/refund',
		method: 'post',
		data: data
	})
}

export function getuserordersumapi(query) {
	return request({
		url: 'deviceRechargeRecord/getuserordersum',
		method: 'get',
		params: query
	})
}
